#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QLabel>
#include "Highlighter.h"

#define PCRE_STATIC
#include "pcre.h"

namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

public slots:
    void textChange(QString text);
    void testButton();
    void updateStatus(int result, int size);

private:
    Ui::MainWindow *ui;
    Highlighter *highlighter;
    QLabel *label;
};

#endif // MAINWINDOW_H
